# The default logging level is set to INFO and log sent to the console
# and email
log4j.rootLogger=ERROR,CONSOLE,FILE

# Console appender sends to system.out
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d{MM/dd/yyyy HH:mm:ss,SSS} %-5p [%t] - %m%n

# File appender appends to file
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.File={app.home}/logs/{app.name}.log
log4j.appender.FILE.MaxFileSize=5MB
log4j.appender.FILE.MaxBackupIndex=5
log4j.appender.FILE.Append=true
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{MM/dd/yyyy HH:mm:ss,SSS} %-5p [%t] - %m%n
